package com.ssn.visitor.company;

public class CEO implements Visitor {
    @Override
    public void visit(Engineer engineer) {
        System.out.println(engineer.name + " 的kpi为： " + engineer.kpi);
    }

    @Override
    public void visit(Manager manager) {
        System.out.println(manager.name + " 的kpi为： " + manager.kpi);
    }
}
